﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hubberly
{
   public partial class Main
   {
      //////////////////////////////////////////////////////////////////////////
      //
      class ShowGoodsItem
      {
         public ShowGoodsItem(int index, ShowGoodsIndices showGoods, string display)
         {
            index_ = index;
            showGoods_ = showGoods;
            display_ = display;
         }
         public int index { get { return index_; } }
         public ShowGoodsIndices showGoods { get { return showGoods_; } }
         public override string ToString() { return display_; }
         private int index_;
         private ShowGoodsIndices showGoods_;
         private string display_;
      }

      private ShowGoodsItem[] showGoods_ = new ShowGoodsItem[]
         {
            new ShowGoodsItem(0, ShowGoodsIndices.All, "all goods")
            , new ShowGoodsItem(1, ShowGoodsIndices.FactoriesOnly, "factories only")
            , new ShowGoodsItem(2, ShowGoodsIndices.ProductionChain, "production chain")
         };

      //////////////////////////////////////////////////////////////////////////
      //
      public enum ShowGoodsIndices
      {
         None = -1,
         All,
         FactoriesOnly,
         ProductionChain,
      }
   }
}
